export function createElement(options) {
  let { tagName, className, innerHTML } = options;

  let element = document.createElement(tagName);
  element.classList.add(className);
  element.innerHTML = innerHTML;

  return element;
}

export function addToBody(element) {
  document.body.appendChild(element);
}
